/*
 * /scripts/Inventory/view.js
 * ==========================
 */

function loadProducts(inventoryId){
    $("#inventoryContent").load(
        '/Products/list',
        'iid=' + inventoryId
    );
}

function loadAdmin(inventoryId){
    $("#inventoryContent").load(
        '/Inventory/admin',
        'iid=' + inventoryId
    );
}